<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
 <!DOCTYPE html>
 <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Document</title>
	<style type="text/css">
		.table{
			width:400px;
			height: 200px;
		}
	</style>
</head>
<body>
	 <table class="table">
<thead>
    <tr>
        <th>商品名字</th>
        <th>商品价格</th>
        <th>数量</th>
        <th>总价</th>
    </tr>
</thead>
<tbody>
<c:forEach items="${data }" var="m" varStatus="stat">
    <tr class="gradeX" style="text-align: center">
    	<td>${m.name}</td>
        <td>${m.money}</td>
        <td>${m.number}</td>
        <td>${m.jz}</td>
    </tr>
  </c:forEach>
    </tbody>
    <tfoot>
        <tr>
       		<th>商品名字</th>
	        <th>商品价格</th>
	        <th>数量</th>
	        <th>总价</th>
        </tr>
    </tfoot>
</table>

</body>
</html>
